package spring.cloud.tasks.tasks_assign_manager.domain;

import lombok.Getter;
import lombok.Setter;
import spring.cloud.tasks.common.BatchTaskInstanceInfo;
import spring.cloud.tasks.tasks_assign_manager.schedule.TaskPreAssignTimePoint;

import java.util.Date;

@Setter
@Getter
public class WaitedAssignTaskInfo {
    private String taskId;
    private String taskType;
    private int totalTaskItemCount;
    private int loadLevel;
    private String taskInstanceId;
    private String taskRoundId;
    private Date nextFireDate;
    private Date timeoutDateTime;//超时时间
    private Date lockDateTime;//lock时间
    private TaskPreAssignTimePoint taskPreAssignTimePoint;
    //
    private BatchTaskInstanceInfo batchTaskInstanceInfo = new BatchTaskInstanceInfo();
}
